package com.alex.cms.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.alex.cms.dao.CmsCategoryMapper;
import com.alex.cms.domain.CmsCategory;
import com.alex.cms.service.ICmsCategoryService;
import com.alex.cms.web.vo.CategoryVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * <p>
 * 分类表 服务实现类
 * </p>
 *
 * @author alex
 * @since 2019-09-11
 */
@Service
public class CmsCategoryServiceImpl extends ServiceImpl<CmsCategoryMapper, CmsCategory> implements ICmsCategoryService {

	@Override
	public List<CategoryVo> getAllCategoriesAsc(QueryWrapper<CategoryVo> queryWrapper) {
		
		return this.baseMapper.getAllCategoriesAsc(queryWrapper);
	}

}
